const http = uni.$u.http

export const addressList = (params = {}) => http.get('/mall/user/address/list', {params});
export const addressEdit = (params = {}) => http.post('/mall/user/address/edit', params);
export const addressAdd = (params = {}) => http.post('/mall/user/address/add', params);
export const addressDel = (params = {}) => http.post('/mall/user/address/del', params);

export const parseAddress = (params = {}) => http.post('/mall/parse/address', params);